//
//  QSNewFeatureViewCell.h
//  SinaWeiBo
//
//  Created by apple on 16/6/4.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
@class QSNewFeatureViewCell;

@protocol QSNewFeatureViewCellDelegate <NSObject>
/**
 *  开始体验按钮的代理方法
 */
- (void)startBtnDelegateWithCell:(QSNewFeatureViewCell *)cell;

/**
 *  分享按钮的代理方法
 */
- (void)shareBtnDelegateWithCell:(QSNewFeatureViewCell *)cell;
@end

@interface QSNewFeatureViewCell : UICollectionViewCell
/**
 *  图片索引
 */
@property (nonatomic, assign) NSInteger imageIndex;

/**
 *  开始体验按钮
 */
@property (nonatomic, strong) UIButton *startButton;

/**
 *  分享按钮
 */
@property (nonatomic, strong) UIButton *shareButton;

/**
 *  代理属性
 */
@property (nonatomic, weak) id<QSNewFeatureViewCellDelegate> delegate;

/**
 *  对按钮进行自动布局
 */
- (void)setupBtnLayout;

/**
 *  动画显示开始体验按钮
 */
- (void)showStartButton;
@end
